package com.action.workreport;
import com.db.workreport.*;
public class StepDOWNAction {
	private int no;
private WorkReportDAO reportDAO;
	

	
	public void setReportDAO(WorkReportDAO reportDAO) {
		this.reportDAO = reportDAO;
	}

	public void setNo(int no) {
		this.no = no;
	}
	
	public String backtothemiddle()throws Exception
	{
		reportDAO.backtothemiddle(no);
		System.out.println("최종 심사 거부.");
		return "success";
	}
	public String backtothebottom()throws Exception
	{
		reportDAO.backtothebottom(no);
		System.out.println("1차 승인 거부");
		return "success";
	}
}
